package com.victualler.core.common.dto.list;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @Aouthor Guoshichang
 * @Date 16:48 on 2018/7/7.
 * @Function 用于初始化实体类list页面的dto对象
 */
public class InitEditPageDto implements Serializable {

    /** 编辑页面跳转的请求 */
    private String saveUrl;

    /** 查询唯一对象的请求 */
    private String queryUrl;

    private String backUrl;

    //用于动态查询List的Dto
    private List<FormItemDto> initSaveColumnList;

    //用于提供翻译和list用的字典大对象
    private Map<String ,DictComDto> dict;

    public InitEditPageDto() {
    }

    public InitEditPageDto(List<FormItemDto> initSaveColumnList) {
        this.initSaveColumnList = initSaveColumnList;
    }

    public String getSaveUrl() {
        return saveUrl;
    }

    public void setSaveUrl(String saveUrl) {
        this.saveUrl = saveUrl;
    }

    public List<FormItemDto> getInitSaveColumnList() {
        return initSaveColumnList;
    }

    public void setInitSaveColumnList(List<FormItemDto> initSaveColumnList) {
        this.initSaveColumnList = initSaveColumnList;
    }

    public String getQueryUrl() {
        return queryUrl;
    }

    public void setQueryUrl(String queryUrl) {
        this.queryUrl = queryUrl;
    }

    public Map<String, DictComDto> getDict() {
        return dict;
    }

    public void setDict(Map<String, DictComDto> dict) {
        this.dict = dict;
    }

    public String getBackUrl() {
        return backUrl;
    }

    public void setBackUrl(String backUrl) {
        this.backUrl = backUrl;
    }
}
